#ifndef INFINITY_PHYSICS_OBJECT_INL
#	define INFINITY_PHYSICS_OBJECT_INL

namespace infinity {
	namespace physics {

inline void Object::applyImpulse(const Vector3f& impulse)
{
	m_velocity += impulse;
}

inline void Object::setPosition(const Vector3f& position)
{
	m_transform.pos = dw::maths::Vector4f(position, 1.0f);
}

inline void Object::setTransform(const Matrix4f& transform)
{
	m_transform = transform;
}

inline const Matrix4f& Object::getTransform() const
{
	return m_transform;
}

inline Object::Object()
:	m_transform(Matrix4f::identity)
,	m_velocity(Vector3f::zero)
{
}

inline Object::~Object()
{
}

	} // namespace physics
} // namespace infinity

#endif // !INFINITY_PHYSICS_OBJECT_INL
